package IO;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86185
 * Date: 2023-11-28
 * Time: 23:33
 */
public class Demo9 {
    public static void main(String[] args) throws IOException {
        try(Writer writer = new FileWriter("D:/test.txt", true)) {
            writer.write("hello world");
        }
    }
}
